import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ArchiveFileComponent } from './file/file.component';
import { ArchiveBorrowComponent } from './borrow/borrow.component';
import { ArchiveRevertComponent } from './revert/revert.component';
import { ArchiveRecordComponent } from './record/record.component';

const routes: Routes = [

  { path: 'file', component: ArchiveFileComponent },
  { path: 'borrow', component: ArchiveBorrowComponent },
  { path: 'revert', component: ArchiveRevertComponent },
  { path: 'record', component: ArchiveRecordComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ArchiveRoutingModule { }
